home *** CD-ROM | disk | FTP | other *** search
- ChatBox Frequently Asked Questions List
-
- - How do I install chatbox?
-
- Run "setup.exe" from the command line or Explorer. This will ask you where ChatBox
- should be installed, what ports you want ChatBox and its admin server to listen to, and
- where e-mail reporting errors should be sent.
-
- - How do I uninstall chatbox?
-
- First, shut down both ChatBox and ChatBox Admin server, preferably by using their "-remove"
- switches (that is, run "chatbox -remove" and "chatboxadmin -remove"). Then use Add/Remove
- Programs from the control panel.
-
- - Graphics referred to by the HTE files aren't displaying!
-
- Some servers (like Netscape Enterprise Server) will try to treat *any* file under the
- CGI scripts directory as a script. Probably you have tried to put a graphic in the directory
- where your HTE files reside (roomname/config/misc). You'll have to move it and update the
- referring HTE file.
-
- - How do I change the look of a room?
-
- By editing the HTE files in $chatroot/config/*. Except for a small set of new tags which are
- interpreted by the ChatBox server, these are ordinary HTML files.
-
- - What are the various HTE files for?
-
- misc/berr.hte: The page sent when CHAT.EXE does not recognize a user's browser type
- misc/exit.hte: The page sent when a user logs off ChatBox
- misc/locked.hte: The page sent when a user tries to log into a full ChatBox room
- misc/login.hte: The page displayed when a user logs in
- push/pushmain.hte: The page which describes the appearance of a chat room
-
- - What are the HTE tags?
-
- There's only one, really: the <chatbox> tag. <chatbox> takes one of several arguments:
-
- <chatbox redirect=url> Redirects the browser to the given URL
- <chatbox usercount> Replaced with the number of users currently logged in
- <chatbox timestamp> Replaced with the current time in "hh:mm:ss tz" format
- <chatbox login form> The start of the form which prompts for a user name
- <chatbox errormessage> Replaced with the error message text if a login fails
- <chatbox chatarea> Replaced with the GIF containing the chat text
- <chatbox gif argument value> The tag which controls the appearance of the GIF. Valid
- arguments are:
-
- argument value meaning
- LMARG integer left margin size
- RMARG integer right margin size
- BMARG integer bottom margin size
- TMARG integer top margin size
- BRED integer Red component of background of gif (0-255)
- BGREEN integer Green component of background
- BBLUE integer Blue component of background
- FRED integer Red component of text
- FGREEN integer Green component of text
- FBLUE integer Blue component of text
- INTERLACE Y|N Controls interlacing of gif
- SPACING integer Spacing between lines of text
-
- These are read by ChatBox from config/push/pushmain.hte
- once for each room at startup. For changes to them to
- take effect, ChatBox must be restarted.
- <chatbox post form> The start of the form which controls posting
- <chatbox logoff form> The start of the form which controls logging off.
-
- The tags which say "form" start a standard HTML form, ended with </form>. These forms require
- certain input areas to be specified by the administrator:
-
- <chatbox login form>: The username goes in a field called NEWUSER. A "submit" button must also
- be specified.
- <chatbox post form>: A text input line named MESSAGE must be provided.
- <chatbox logoff form>: A "Submit" button named "Log off" must be provided.
-
- See the HTE files which came in the ChatBox distribution for an example of the use of these in
- context.
-
- - What's this <CHATBOX INPUT> in push/form.hte and push/pushmain.hte?
-
- A workaround for a bug in Internet Explorer. Since IE uses a Java applet instead of a form for
- the logoff button, the submit button must be disguised in some way. CHAT.EXE strips out any
- <CHATBOX INPUT> tag if the brower type is MSIE.
-